<?php
if(!defined("ADMREAD")) exit();
global $sess,$lang,$ADMIN_PERM_ARRAY,$ADMIN_ID,$CHECK_ADMIN,$pl;
$block = array();
if (in_array('article',$ADMIN_PERM_ARRAY) || in_array($ADMIN_ID,$CHECK_ADMIN['admid'])) {
    $block['id'] = 'article';
    $block['title'] = $lang['menu_article'];
    $block['link'] = array(
    'article.php?dn=index&pl='.$pl.'&ops='.$sess['hash'] => $lang['all_cat'],
    'article.php?dn=articlelist&pl='.$pl.'&ops='.$sess['hash'] => $lang['article_all'],
    'article.php?dn=articlecatadd&pl='.$pl.'&ops='.$sess['hash'] => $lang['all_add_cat'],
    'article.php?dn=articleadd&pl='.$pl.'&ops='.$sess['hash'] => $lang['article_add']
    );
}
?>